销毁一个Event,只能销毁通过aclrtCreateEvent/aclrtCreateEventWithFlag接口创建的Event,同步接口。调用aclrtCreateEvent接口创建的Event,在销毁时,用户需确保等待aclrtSynchronizeEvent接口或aclrtStreamWaitEvent接口涉及的任务都结束后,再销毁。
停止Profiling数据采集。同步接口。